package com.sghd.pojo.dialog;

import java.util.ArrayList;
import java.util.List;

/**
 * @author frank
 *
 * 弹窗内容
 */
public class WindowInfo {
    /** 返回大厅*/
    public static final int BT_TOHALL = 10;
    /**
     * 标准弹窗
     **/
    public static String WINDOW_T = "T";
    /**
     * 浮动窗（浮动几秒后自动消失）
     **/
    public static String WINDOW_F = "F";
    /**
     * 飘窗（从边缘进入，中间停留，然后再出去）
     **/
    public static String WINDOW_P = "P";

//    public static final int BT_CLOSE = -1; // ---关闭
//    public static final int BT_OK = 0; // ---确定
//    public static final int BT_CANCEL = 1; // ---取消
//    public static final int BT_EXIT = 2; // ---退出应用

    private String type;
    private String info;
    private List<Button> buttons = new ArrayList<Button>();


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<Button> getButtons() {
        return buttons;
    }

    public void setButtons(List<Button> buttons) {
        this.buttons = buttons;
    }

    public void addButton(Button button) {
        this.buttons.add(button);
    }
}
